@echo off
setlocal

set LIB=..\..\..\lib
set CLASSPATH=%LIB%\frontier-sdk.jar;.


echo. Compiling...
javac -classpath "%CLASSPATH%" NativeApp.java NativeTask.java

echo. Building jar files ...
jar cf ..\nativeApp.jar "NativeApp.class"  "NativeTask$Result.class"
jar cf ..\nativeTask.jar "NativeTask.class" "NativeTask$Result.class"
jar cf ..\square.jar "PARABON-META" "frontier"
